﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    public class CostTotalRequestModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public string pid { get; set; }
    }

    public class CostTotalResponseModel
    {
        /// <summary>
        /// code
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// msg
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 费用汇总ID
        /// </summary>
        public string cid { get; set; }
        /// <summary>
        /// 截止时间
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 费用总额 （单位：元）
        /// </summary>
        public string tprice { get; set; }
        /// <summary>
        /// 押金
        /// </summary>
        public string cash { get; set; }
        /// <summary>
        /// 押金结余（单位：元）
        /// </summary>
        public string dbcash { get; set; }
        /// <summary>
        /// 统筹支付（单位：元）
        /// </summary>
        public string copay { get; set; }
        /// <summary>
        /// 自付（单位：元）
        /// </summary>
        public string ownpay { get; set; }
        /// <summary>
        /// 医保审核状态
        /// </summary>
        public string state { get; set; }
        /// <summary>
        /// 医保本年累计缴费金额 （单位：元）
        /// </summary>
        public string hctprice { get; set; }

        /// <summary>
        /// 费用清单信息
        /// </summary>
        //public List<CostTotalResponseItemModel> item { get; set; }
        public CostTotalResponseItemModel item { get; set; }
    }

    public class CostTotalResponseItemModel
    {
        /// <summary>
        /// 标题
        /// </summary>
        public List<CostTotalResponseTitleModel> title { get; set; }

        public List<CostTotalResponseContentModel> content { get; set; }
    }

    public class CostTotalResponseTitleModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string sum { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
    }

    public class CostTotalResponseContentModel
    {
        /// <summary>
        /// 品名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string sum { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
    }
}
